var socialMixin = {
    data(){
        return {
            social_status: [],
            educations: [],
            sources: [], //简历来源数组
            grades: [],
            occupations: [],
            advisor: []
        }
    },
    created() {
        this.educations = JSON.parse(localStorage.getItem('education'));
        this.social_status = JSON.parse(localStorage.getItem('social_status'));
        this.sources = JSON.parse(localStorage.getItem('source'));
        this.grades = JSON.parse(localStorage.getItem('grade'));
        this.occupations = JSON.parse(localStorage.getItem('occupation'));
        this.advisor = JSON.parse(localStorage.getItem('advisor'))
    }
}

export default socialMixin;